
#ifndef COMPANYAO_STUB_4_WEB_H
#define COMPANYAO_STUB_4_WEB_H

#include <string>
#include "c2cent/base/basestub4web.h"
#include "app_platform/cntl_info.h"
#include "intf_companyao.h"

namespace erp
{
namespace company
{
namespace ao
{
	#define COMPANYAO_STUB4WEB_VERSION "ERP_COMPANY_AO___COMPANYAO__STUB4WEB_VERSION__1.0 2013-10-25 10:15:56"
    const std::string COMPANYAO_STUB4WEB_NOUSE = COMPANYAO_STUB4WEB_VERSION;
	
	class CCompanyAoStub4Web : public c2cent::CBaseStub4Web, public ICompanyAo	{
	public:
		uint32_t AddAndUpdateCompanyInfo(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const erp::company::po::CCompanyInfoPo& companyInfoPo,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
		uint32_t DeleteCompanyInfo(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				uint64_t companySysNo,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
		uint32_t GetCompanyInfoByFilter(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const erp::company::po::CCompanyFilterPo& filter,
				const std::string& inReserve,
				std::string& errmsg,
				uint32_t& total,
				std::vector<erp::company::po::CCompanyInfoPo >& companyInfoPo,
				std::string& outReserve
	    );
		uint32_t GetCompanyInfoByIds(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const std::set<uint64_t >& companySysNo,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint64_t,uint32_t >& errorCode,
				std::map<uint64_t,std::string >& errorMsg,
				std::map<uint64_t,erp::company::po::CCompanyInfoPo >& companyInfoPo,
				std::string& outReserve
	    );
	};

}
}
}
 
#endif /* COMPANYAO_STUB_4_WEB_H */
